package com.dayuanit.service;

import java.util.List;

import com.dayuanit.dto.OrderDTO;
import com.dayuanit.dto.SettleInfoDTO;
import com.dayuanit.util.PageUtil;

public interface OrderService {

	String addOrder(int goodId, int num, int userId, int addressId, int payType);
	
	SettleInfoDTO settleInfo(Integer goodId, Integer num);
	
	List<OrderDTO> listOrder(Integer userId, PageUtil pu);
	
	int countOrder(Integer userId);
	
	void orderPaySuccess(Integer id);
	
	OrderDTO getOrder(int id, int userId);
	
	String toPay(int orderId, int userId);
	
}
